package com.beiding.config;

import com.beiding.utils.AmqpUtils;
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UserAmqpConfig {


    //删除用户的是一个主题
    /*public static final String QUEUE_USER_DELETE = "queue.user.delete";

    *//*********** 用户删除路由 ***********//*
    @Bean
    public Queue emailQueue()
    {
        return AmqpUtils.createQueue(QUEUE_USER_DELETE);
    }

    */

}
